package com.atjinggu.jinggumail.product.feign;

import com.atjinggu.jinggumail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author jingming
 * @Type WareFeignService.java
 * @Desc
 * @date 2021/1/8 11:53
 */
@FeignClient("jinggumail-ware")
public interface WareFeignService {
     @PostMapping("ware/waresku/getSkusHasStock")
     R getSkusHasStock(@RequestBody List<Long> skuIds);
}
